<%-- 
    Document   : userinfo
    Created on : Jul 14, 2011, 4:37:12 PM
    Author     : cedric.creusot
--%>


<div id="main">
    <div class="titleContainer">
        <h1><spring:message code="userinfo.title"/></h1>
    </div>
    <form:form modelAttribute="userInfo" class="module">
        <div class="element">
            <label>First Name : </label>
            <form:input path="firstname"/>
            <font color="red"><form:errors path="firstname"/></font>
        </div>
        <div class="element">
            <label>Last Name : </label>
            <form:input path="lastname" />
            <font color="red"><form:errors path="lastname"/></font>
        </div>
        <div class="element">
            <label>Mail : </label>
            <form:input path="mail" disabled="true"/>
            <form:hidden path="mail"/>
        </div>
        <div class="element">
            <label>Password : </label>
            <form:password path="password"/>
            <font color="red"><form:errors path="password"/></font>
        </div>
        <div class="element">
            <label>Confirmation : </label>
            <form:password path="pwd_verif"/>
            <font color="red"><form:errors path="pwd_verif"/></font>
        </div>
        <input type="submit"/>
    </form:form>
</div>